#ifndef _FACTORY_H_
#define _FACTORY_H_

#include "GameObject.h"

typedef enum
{
  TYPE_CAR,
  TYPE_TRACK,
  TYPE_CURVEL,
  TYPE_CURVER
}TYPE_OBJ;

class CFactory
{
  public:
    CFactory(void);
    ~CFactory(void);
    
    CGameObject* Instantiate(TYPE_OBJ type);
};

#endif
